package com.bootdo.lvyou_specialty.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-11-02 11:49:51
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouSpecialtyGzhConfig extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//
	 @NotColumn 	@HapiFeild("")
	private Long id;
	
	//
		@HapiFeild("")
	private Date createTime;
	
	//
		@HapiFeild("appId")
	private String appId;
	
	//
		@HapiFeild("appsecret")
	private String appsecret;

		// 回调的路径
		@HapiFeild("redirectUrl")
	private String redirectUrl;

	// 回调的路径
	@HapiFeild("是否是默认的 1代表不是默认的 2代表是默认的")
	private Integer isDefault;

	// 上传的图片路径
	@HapiFeild(" 上传的图片路径 ")
	private String picUrl;

	// 上传的图片路径
	@HapiFeild(" 消息通知的跳转路径 ")
	private String messageRedirectUrl;

    public LvyouSpecialtyGzhConfig(){
    	this.isDefault = 1;
    	this.createTime = new Date();
    }


	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setAppId(String appId) {
		this.appId = appId;
	}
	/**
	 * 获取：
	 */
	public String getAppId() {
		return appId;
	}
	/**
	 * 设置：
	 */
	public void setAppsecret(String appsecret) {
		this.appsecret = appsecret;
	}
	/**
	 * 获取：
	 */
	public String getAppsecret() {
		return appsecret;
	}


	public String getRedirectUrl() {
		return redirectUrl;
	}

	public void setRedirectUrl(String redirectUrl) {
		this.redirectUrl = redirectUrl;
	}

	public Integer getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getMessageRedirectUrl() {
		return messageRedirectUrl;
	}

	public void setMessageRedirectUrl(String messageRedirectUrl) {
		this.messageRedirectUrl = messageRedirectUrl;
	}

	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
